home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 143
/
(Vol 143) Nov 15 2011.iso
/
Games
/
aqua_cubes.swf
/
scripts
/
frame_82
/
DoAction_2.as
next >
Wrap
Text File
|
2011-11-15
|
2KB
|
74 lines
stop();
_root.pa_warning._visible = false;
_root.pa_setting._visible = false;
_root.pa_help._visible = false;
_root.b_start0.onRelease = function()
{
if(_root.pa_setting._visible != true and _root.so.data.gamesave != true or _root.so.data.continuecount == 0)
{
_root.gamemode = "story";
_root.so.data.gamesave = false;
_root.so.data.continuecount = _root.maxconti;
play();
}
};
_root.b_start1._alpha = 25;
if(_root.so.data.gamesave != true or _root.gamedemo == true or _root.webdemo == true or _root.so.data.continuecount == 0)
{
_root.b_continue._alpha = 25;
}
else
{
_root.b_continue._alpha = 255;
}
_root.b_continue.onRelease = function()
{
if(_root.so.data.gamesave == true and _root.b_continue._alpha >= 100)
{
_root.so.data.continued = true;
_root.continuecount = _root.continuecount - 1;
_root.so.data.continuecount = _root.continuecount;
play();
}
};
_root.b_setting.onRelease = function()
{
_root.pa_setting._visible = true;
};
if(_root.gamedemo == true)
{
_root.b_seti._alpha = 25;
}
_root.b_help.onRelease = function()
{
if(_root.pa_setting._visible != true)
{
_root.pa_help._visible = true;
_root.pa_help.gotoAndStop(2);
}
};
_root.b_quit.onRelease = function()
{
fscommand("quit");
};
if(_root.gamedemo == true)
{
_root.b_quit._visible = false;
}
if(_root.gamedemo != true)
{
_root.b_buy._visible = false;
}
_root.b_buy.onRelease = function()
{
getUrl("http://www.greenhermit.net", "_blank");
};
_root.b_more.onRelease = function()
{
getUrl("http://www.mofunzone.com/", "_blank");
};
_root.b_highscore.onRelease = function()
{
getUrl("http://www.mofunzone.com/game_scores/aquacubes/highscores.shtml", "_blank");
};